<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/9/7 0007
  Time: 15:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>历史缴费</title>
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <style>
        td {
            width: 100px;
            height: 16px;
            line-height: 16px;
            text-align: center;
            vertical-align: middle;
        }
    </style>
</head>
<body>
<center>
    <h2>历史缴费列表</h2><br/>
    <form action="" method="post">
        <table border="1" cellspacing="0">
            <tr style="background: gainsboro">
                <td>支付流水号</td>
                <td>支付时间</td>
                <td>费用时间</td>
                <td>计费周期</td>
                <td>金额</td>
                <td>资源名称</td>
            </tr>
            <c:forEach items="${costs2}" var="cs">
                <tr>
                    <td>${cs.number}</td>
                    <td><fmt:formatDate value="${cs.time}"/></td>
                    <td><fmt:formatDate value="${cs.start_time}"/>-<fmt:formatDate value="${cs.end_time}"/></td>
                    <td>${cs.perid}</td>
                    <td>￥${cs.money}</td>
                    <td>${cs.name}</td>
                </tr>
            </c:forEach>
        </table>
    </form>
</center>
</body>
</html>
